package com.qf.xiaomi.pojo;



/**
 * 以列表的形式存放数据--暂时无用
 * @Created by 马英超 on 2022/8/18 20:47
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public class CartUnion {

   private int id; //商品ID-商品快照表
   private String name; //商品名称--商品快照表
   private int price;//商品价格--商品快照
   private int num;//商品数量
   private int uid;//用户ID
   private int pid;//商品ID

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "CartUnion{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", num=" + num +
                '}';
    }
}
